import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart';
import 'package:share_fit/app/components/back_btn_icon.dart';
import 'package:share_fit/app/controllers/space/weekly/string_util.dart';
import 'package:share_fit/app/helper/ext/tr_ext.dart';
import 'package:share_fit/app/tools/color_const.dart';
import 'package:share_fit/generated/locales.g.dart';

class PrivatePage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      // backgroundColor: Color(0xFFF5F9FB),
      appBar: AppBar(
        // backgroundColor: Color(0xFFF5F9FB),
        title: Text(LocaleKeys.setting_private.ts, style: TextStyle(fontSize: 54.sp, color: ColorConst.btnFontColor),),
        centerTitle: true,
        leading: BackBtnIcon(onTap: () => Get.back()),
        // leading: IconButton(
        //   padding: EdgeInsets.only(left: 15,),
        //   icon: Image.asset("assets/images/space/icon_appbar_arrow_back.png"),
        //   onPressed: () { Get.back(); },
        // ),
        // leadingWidth: 25,
      ),
      body: SingleChildScrollView(
        child: Container(
          padding: EdgeInsets.fromLTRB(50.w, 100.h, 50.w, 240.h),
          child: Column(
            crossAxisAlignment: CrossAxisAlignment.start,
            children: [
              // Text('APP搜索不到设备', style: TextStyle(fontSize: 54.sp, color: ColorConst.btnFontColor),),
              // SizedBox(height: 58.h,),
              Text(StringUtils.autoLineString(LocaleKeys.privary_policy.ts), style: TextStyle(fontSize: 42.sp, color: ColorConst.btnFontColor,)),
            ],
          ),),),);
  }
}